package com.smile.model.response;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@ToString
public class GetUserInfoByUserNameResponse implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;

    private String userName;

    private String password;

    private String realName;

    private String mobile;

    private Long roleId;

    private Integer status;

    private String salt;

    //1为后台系统账号，2为商家账号
    private Integer userType;

    private Long organizationId;


    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")

    private LocalDateTime createTime;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")

    private LocalDateTime modifyTime;

    private Long userId;

//    private String mapCenterName;
//
//    /**
//     * 经度
//     */
//    private BigDecimal longitude;
//
//    /**
//     * 纬度
//     */
//    private BigDecimal latitude;


}
